package com.chb.docter.dto;

import com.hos.entity.his.CareHistory;
import com.hos.entity.his.CareOrder;
import com.hos.entity.his.Registration;
import com.hos.entity.sys.Dept;
import com.hos.entity.sys.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author: 陈海彬
 * @date: Created in 2023/12/21 12:03
 * @description: 订单列表实体类
 * @modified By:
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单列表返回值")
public class OrderListDto {

    @ApiModelProperty("挂号信息")
    private Registration registration;

    @ApiModelProperty("医生信息")
    private User user;

    @ApiModelProperty("科室信息")
    private Dept dept;

    @ApiModelProperty("病例信息")
    private CareHistory careHistory;

    @ApiModelProperty("处方列表")
    private List<CareOrder> careOrders;

    @ApiModelProperty("金额合计")
    private BigDecimal totalMoney;

    @ApiModelProperty("数量合计")
    private Integer totalNum;

    @ApiModelProperty("列表状态")
    private String status;

    @ApiModelProperty("总条数")
    private Long pages;
}